package cn.harry.modular.sys.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class CaptchaResult {
    @Schema(description = "验证码缓存key")
    private String uuid;
    @Schema(description = "验证码图片Base64字符串")
    private String img;
    @Schema(description = "验证码是否开启")
    private boolean captchaEnabled;

    public CaptchaResult() {

    }

    public CaptchaResult(String uuid, String img, boolean captchaEnabled) {
        this.uuid = uuid;
        this.img = img;
        this.captchaEnabled = captchaEnabled;
    }
}
